package com.tzinfo.data;

import android.content.Context;
import android.content.Intent;
import android.widget.Toast;
import com.galhttprequest.GalHttpRequest;
import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken;
import com.yxw.data.util.SharedPreferencesTools;
import com.yxw.util.OutLog;

public class UserInfo {
	private Boolean success;
	private String msg;
	private UserData data;

	public Boolean getSuccess() {
		return success;
	}

	public void setSuccess(Boolean success) {
		this.success = success;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public UserData getData() {
		return data;
	}

	public void setData(UserData data) {
		this.data = data;
	}

	public static class UserData {
		private String UserName;
		private String SessionID;

		public String getUserName() {
			return UserName;
		}

		public void setUserName(String userName) {
			UserName = userName;
		}

		public String getSessionID() {
			return SessionID;
		}

		public void setSessionID(String sessionID) {
			SessionID = sessionID;
		}

		@Override
		public String toString() {
			return "UserData [UserName=" + UserName + ", SessionID="
					+ SessionID + "]";
		}

	}

	@Override
	public String toString() {
		return "UserInfo [success=" + success + ", msg=" + msg + ", data="
				+ data + "]";
	}

}
